#pragma once
#include <string>
#include <vector>
#include "reservation.h"

using namespace std;

class reservation_admin
{
public:
	static reservation_admin *get_reservation_admin();
	bool is_reserved(string movie);
	bool is_reserved(int phone);
	void reserve(string movie , int phone);
	void cancel_r(int phone);
	~reservation_admin(void);
	string get_movie(int phone);
private:
	static reservation_admin* instance;
	reservation_admin(void);
	int reservation_counter;
	vector <reservation> reservations;
};

